<?php 

return array (
  'son' => 
  array (
    'form' => 
    array (
      'id' => '4',
      'name' => '圈贴',
      'table' => 'son',
      'module' => 'quan',
      'disabled' => '0',
      'setting' => '{"seo":{"title":"{title}{join}{formname}{join}{SITE_NAME}","keywords":"","description":""},"icon":"","is_read":"0","is_close_post":"0","is_post_code":"1","is_verify":"0","rt_text":"","rt_text2":"","rt_url":"/index.php?s=quan&c=son&id={id}","list_field":{"neirong":{"use":"1","name":"圈贴内容","width":"","func":""},"title":{"name":"主题","width":"0","func":"title"},"uid":{"use":"1","name":"账号","width":"100","func":"uid"},"inputtime":{"use":"1","name":"录入时间","width":"160","func":"datetime"},"vip":{"use":"1","name":"是否收费","width":"","func":""},"id":{"name":"Id","width":"","func":""},"inputip":{"name":"客户端IP","width":"","func":""},"displayorder":{"name":"排列值","width":"","func":""},"tid":{"name":"圈子","width":"","func":""},"fengmiantu":{"name":"封面图","width":"","func":""},"zhiding":{"name":"置顶","width":"","func":""},"author":{"name":"作者","width":"","func":""},"tuijian":{"name":"推荐","width":"","func":""},"cid":{"name":"关联","width":"","func":"ctitle"}},"is_member":"1","is_member_user":"1"}',
    ),
    'table' => 
    array (
      0 => 'CREATE TABLE IF NOT EXISTS `{tablename}` (
  `id` int(10) unsigned NOT NULL,
  `cid` int(10) unsigned NOT NULL COMMENT \'内容id\',
  `catid` mediumint(8) unsigned NOT NULL COMMENT \'栏目id\',
  `uid` mediumint(8) unsigned NOT NULL COMMENT \'作者id\',
  UNIQUE KEY `id` (`id`),
  KEY `cid` (`cid`),
  KEY `catid` (`catid`),
  KEY `uid` (`uid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT=\'模块表单圈贴附表\'',
      1 => 'CREATE TABLE IF NOT EXISTS `{tablename}` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `cid` int(10) unsigned NOT NULL COMMENT \'内容id\',
  `catid` mediumint(8) unsigned NOT NULL COMMENT \'栏目id\',
  `uid` mediumint(8) unsigned NOT NULL COMMENT \'作者id\',
  `author` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT \'作者名称\',
  `inputip` varchar(200) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT \'录入者ip\',
  `inputtime` int(10) unsigned NOT NULL COMMENT \'录入时间\',
  `title` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT \'表单主题\',
  `status` tinyint(1) DEFAULT NULL COMMENT \'状态值\',
  `tableid` smallint(5) unsigned NOT NULL COMMENT \'附表id\',
  `hits` int(10) unsigned DEFAULT NULL COMMENT \'浏览数\',
  `favorites` int(10) unsigned DEFAULT \'0\' COMMENT \'收藏数量\',
  `zan` int(10) unsigned DEFAULT \'0\' COMMENT \'点赞数量\',
  `displayorder` int(10) DEFAULT NULL COMMENT \'排序值\',
  `tid` int(5) unsigned DEFAULT NULL COMMENT \'圈贴分类\',
  `vip` tinyint(1) DEFAULT \'0\' COMMENT \'是否收费\',
  `fengmiantu` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT \'封面图\',
  `zhiding` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT \'置顶\',
  `neirong` mediumtext COLLATE utf8mb4_unicode_ci COMMENT \'内容\',
  `tuijian` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT \'推荐\',
  `comments` int(10) DEFAULT \'0\' COMMENT \'评论数量\',
  `avgsort` decimal(10,2) unsigned DEFAULT \'0.00\' COMMENT \'平均点评分数\',
  `shenhe` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT \'审核\',
  PRIMARY KEY (`id`),
  KEY `cid` (`cid`),
  KEY `uid` (`uid`),
  KEY `catid` (`catid`),
  KEY `author` (`author`),
  KEY `status` (`status`),
  KEY `displayorder` (`displayorder`),
  KEY `inputtime` (`inputtime`)
) ENGINE=InnoDB AUTO_INCREMENT=66 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT=\'模块表单圈贴表\'',
    ),
    'field' => 
    array (
      0 => 
      array (
      ),
      1 => 
      array (
        0 => 
        array (
          'name' => '圈子',
          'fieldname' => 'tid',
          'fieldtype' => 'Stype',
          'isedit' => '1',
          'ismain' => '1',
          'issystem' => '0',
          'ismember' => '1',
          'issearch' => '1',
          'disabled' => '0',
          'setting' => 
          array (
            'validate' => 
            array (
              'required' => '0',
              'pattern' => '',
              'errortips' => '',
              'check' => '',
              'filter' => '',
              'formattr' => '',
              'tips' => '',
            ),
            'option' => 
            array (
              'css' => '',
            ),
            'is_right' => '0',
          ),
          'displayorder' => '-1',
        ),
        1 => 
        array (
          'name' => '封面图',
          'fieldname' => 'fengmiantu',
          'fieldtype' => 'File',
          'isedit' => '1',
          'ismain' => '1',
          'issystem' => '0',
          'ismember' => '0',
          'issearch' => '0',
          'disabled' => '0',
          'setting' => 
          array (
            'option' => 
            array (
              'fieldtype' => '',
              'fieldlength' => '',
              'ext' => 'jpg,gif,png',
              'size' => '10',
              'attachment' => '0',
              'image_reduce' => '100.',
              'is_ext_tips' => '0',
              'css' => '',
            ),
            'validate' => 
            array (
              'xss' => '1',
              'required' => '0',
              'pattern' => '',
              'errortips' => '',
              'check' => '',
              'filter' => '',
              'tips' => '',
              'formattr' => '',
            ),
            'is_right' => '0',
          ),
          'displayorder' => '-1',
        ),
        2 => 
        array (
          'name' => '置顶',
          'fieldname' => 'zhiding',
          'fieldtype' => 'Radio',
          'isedit' => '1',
          'ismain' => '1',
          'issystem' => '0',
          'ismember' => '0',
          'issearch' => '0',
          'disabled' => '0',
          'setting' => 
          array (
            'option' => 
            array (
              'options' => '置顶|1
不置顶|0',
              'is_field_ld' => '0',
              'value' => '0',
              'fieldtype' => '',
              'fieldlength' => '',
              'show_type' => '0',
              'css' => '',
            ),
            'validate' => 
            array (
              'xss' => '1',
              'required' => '0',
              'pattern' => '',
              'errortips' => '',
              'check' => '',
              'filter' => '',
              'tips' => '',
              'formattr' => '',
            ),
            'is_right' => '0',
          ),
          'displayorder' => '-1',
        ),
        3 => 
        array (
          'name' => '圈贴标题',
          'fieldname' => 'title',
          'fieldtype' => 'Text',
          'isedit' => '1',
          'ismain' => '1',
          'issystem' => '1',
          'ismember' => '0',
          'issearch' => '0',
          'disabled' => '0',
          'setting' => 
          array (
            'option' => 
            array (
              'fieldtype' => 'VARCHAR',
              'fieldlength' => '255',
              'value' => '',
              'width' => '100%',
              'css' => '',
            ),
            'validate' => 
            array (
              'xss' => '1',
              'required' => '1',
              'pattern' => '',
              'errortips' => '',
              'check' => '',
              'filter' => '',
              'tips' => '',
              'formattr' => '',
            ),
            'is_right' => '0',
          ),
          'displayorder' => '0',
        ),
        4 => 
        array (
          'name' => '是否收费',
          'fieldname' => 'vip',
          'fieldtype' => 'Radio',
          'isedit' => '1',
          'ismain' => '1',
          'issystem' => '0',
          'ismember' => '0',
          'issearch' => '1',
          'disabled' => '0',
          'setting' => 
          array (
            'option' => 
            array (
              'options' => '免费|0
收费|1',
              'value' => '0',
              'fieldtype' => 'TINYINT',
              'fieldlength' => '1',
              'show_type' => '0',
              'css' => '',
            ),
            'validate' => 
            array (
              'required' => '0',
              'pattern' => '',
              'errortips' => '',
              'check' => '',
              'filter' => '',
              'formattr' => '',
              'tips' => '',
            ),
            'is_right' => '0',
          ),
          'displayorder' => '0',
        ),
        5 => 
        array (
          'name' => '圈贴内容',
          'fieldname' => 'neirong',
          'fieldtype' => 'Ueditor',
          'isedit' => '1',
          'ismain' => '1',
          'issystem' => '0',
          'ismember' => '1',
          'issearch' => '0',
          'disabled' => '0',
          'setting' => 
          array (
            'option' => 
            array (
              'show_bottom_boot' => '1',
              'tool_select_1' => '1',
              'tool_select_3' => '1',
              'imgtitle' => '0',
              'imgalt' => '0',
              'watermark' => '0',
              'image_ext' => 'jpg,gif,png,webp,jpeg',
              'image_size' => '10',
              'attach_size' => '200',
              'attach_ext' => 'zip,rar,txt,doc',
              'video_ext' => 'mp4',
              'video_size' => '500',
              'attachment' => '0',
              'value' => '',
              'width' => '100%',
              'height' => '700',
              'css' => '',
            ),
            'validate' => 
            array (
              'xss' => '1',
              'required' => '0',
              'pattern' => '',
              'errortips' => '',
              'check' => '',
              'filter' => '',
              'tips' => '',
              'formattr' => '',
            ),
            'is_right' => '0',
          ),
          'displayorder' => '0',
        ),
        6 => 
        array (
          'name' => '作者',
          'fieldname' => 'author',
          'fieldtype' => 'Text',
          'isedit' => '1',
          'ismain' => '1',
          'issystem' => '1',
          'ismember' => '0',
          'issearch' => '1',
          'disabled' => '0',
          'setting' => 
          array (
            'is_right' => 1,
            'option' => 
            array (
              'width' => 200,
              'fieldtype' => 'VARCHAR',
              'fieldlength' => '255',
            ),
            'validate' => 
            array (
              'xss' => 1,
            ),
          ),
          'displayorder' => '0',
        ),
        7 => 
        array (
          'name' => '推荐',
          'fieldname' => 'tuijian',
          'fieldtype' => 'Radio',
          'isedit' => '1',
          'ismain' => '1',
          'issystem' => '0',
          'ismember' => '0',
          'issearch' => '0',
          'disabled' => '0',
          'setting' => 
          array (
            'option' => 
            array (
              'options' => '首页推荐|1
不推荐|0',
              'is_field_ld' => '0',
              'value' => '0',
              'fieldtype' => '',
              'fieldlength' => '',
              'show_type' => '0',
              'css' => '',
            ),
            'validate' => 
            array (
              'xss' => '1',
              'required' => '0',
              'pattern' => '',
              'errortips' => '',
              'check' => '',
              'filter' => '',
              'tips' => '',
              'formattr' => '',
            ),
            'is_right' => '0',
          ),
          'displayorder' => '0',
        ),
        8 => 
        array (
          'name' => '审核',
          'fieldname' => 'shenhe',
          'fieldtype' => 'Radio',
          'isedit' => '1',
          'ismain' => '1',
          'issystem' => '0',
          'ismember' => '1',
          'issearch' => '0',
          'disabled' => '0',
          'setting' => 
          array (
            'option' => 
            array (
              'options' => '待审核|0
已经审核|1',
              'is_field_ld' => '0',
              'value' => '',
              'fieldtype' => '',
              'fieldlength' => '',
              'show_type' => '0',
              'css' => '',
            ),
            'validate' => 
            array (
              'xss' => '1',
              'required' => '0',
              'pattern' => '',
              'errortips' => '',
              'check' => '',
              'filter' => '',
              'tips' => '',
              'formattr' => '',
            ),
            'is_right' => '0',
          ),
          'displayorder' => '0',
        ),
      ),
    ),
  ),
  'yonghuzu' => 
  array (
    'form' => 
    array (
      'id' => '5',
      'name' => '用户组',
      'table' => 'yonghuzu',
      'module' => 'quan',
      'disabled' => '0',
      'setting' => '{"seo":{"title":"{title}{join}{formname}{join}{SITE_NAME}","keywords":"","description":""},"icon":"","is_read":"0","is_close_post":"0","is_post_code":"0","is_verify":"0","rt_text":"","rt_text2":"","rt_url":"","list_field":{"title":{"use":"1","name":"主题","width":"0","func":"title"},"uid":{"use":"1","name":"账号","width":"100","func":"uid"},"inputtime":{"use":"1","name":"录入时间","width":"160","func":"datetime"},"id":{"name":"Id","width":"","func":""},"inputip":{"use":"1","name":"客户端IP","width":"","func":""},"displayorder":{"name":"排列值","width":"","func":""},"author":{"name":"作者","width":"","func":""},"cid":{"name":"关联","width":"","func":"ctitle"}}}',
    ),
    'table' => 
    array (
      0 => 'CREATE TABLE IF NOT EXISTS `{tablename}` (
  `id` int(10) unsigned NOT NULL,
  `cid` int(10) unsigned NOT NULL COMMENT \'内容id\',
  `catid` mediumint(8) unsigned NOT NULL COMMENT \'栏目id\',
  `uid` mediumint(8) unsigned NOT NULL COMMENT \'作者id\',
  UNIQUE KEY `id` (`id`),
  KEY `cid` (`cid`),
  KEY `catid` (`catid`),
  KEY `uid` (`uid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT=\'模块表单用户组附表\'',
      1 => 'CREATE TABLE IF NOT EXISTS `{tablename}` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `cid` int(10) unsigned NOT NULL COMMENT \'内容id\',
  `catid` mediumint(8) unsigned NOT NULL COMMENT \'栏目id\',
  `uid` mediumint(8) unsigned NOT NULL COMMENT \'作者id\',
  `author` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT \'作者名称\',
  `inputip` varchar(200) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT \'录入者ip\',
  `inputtime` int(10) unsigned NOT NULL COMMENT \'录入时间\',
  `title` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT \'表单主题\',
  `status` tinyint(1) DEFAULT NULL COMMENT \'状态值\',
  `tableid` smallint(5) unsigned NOT NULL COMMENT \'附表id\',
  `displayorder` int(10) DEFAULT NULL COMMENT \'排序值\',
  PRIMARY KEY (`id`),
  KEY `cid` (`cid`),
  KEY `uid` (`uid`),
  KEY `catid` (`catid`),
  KEY `author` (`author`),
  KEY `status` (`status`),
  KEY `displayorder` (`displayorder`),
  KEY `inputtime` (`inputtime`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT=\'模块表单用户组表\'',
    ),
    'field' => 
    array (
      0 => 
      array (
      ),
      1 => 
      array (
        0 => 
        array (
          'name' => '主题',
          'fieldname' => 'title',
          'fieldtype' => 'Text',
          'isedit' => '1',
          'ismain' => '1',
          'issystem' => '1',
          'ismember' => '1',
          'issearch' => '1',
          'disabled' => '0',
          'setting' => 
          array (
            'option' => 
            array (
              'width' => 300,
              'fieldtype' => 'VARCHAR',
              'fieldlength' => '255',
            ),
            'validate' => 
            array (
              'xss' => 1,
              'required' => 1,
            ),
          ),
          'displayorder' => '0',
        ),
        1 => 
        array (
          'name' => '作者',
          'fieldname' => 'author',
          'fieldtype' => 'Text',
          'isedit' => '1',
          'ismain' => '1',
          'issystem' => '1',
          'ismember' => '1',
          'issearch' => '1',
          'disabled' => '0',
          'setting' => 
          array (
            'is_right' => 1,
            'option' => 
            array (
              'width' => 200,
              'fieldtype' => 'VARCHAR',
              'fieldlength' => '255',
            ),
            'validate' => 
            array (
              'xss' => 1,
            ),
          ),
          'displayorder' => '0',
        ),
      ),
    ),
  ),
);